package com.xhwl.data.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xhwl.common.pojo.cent.sdata.Attr;
import com.xhwl.common.query.cent.sdata.AttrQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: zhangliuli
 * @Description:
 * @Date: Create in &{date} &{time}
 */
@Repository
public interface IAttrDao extends BaseMapper<Attr> {

    Page<Attr> page(Page page, @Param("attrQuery") AttrQuery attrQuery);

    //mapper文件中自定义
    List<Attr> list(@Param("attrQuery") AttrQuery attrQuery);

}
